import { axios } from '@/utils/request1'

export function sendCode (parameter) {
  return axios({
    url: '/app/sendCode',
    method: 'post',
    data: parameter
  })
}

export function validateCode (parameter) {
  return axios({
    url: '/app/vaildCode',
    method: 'post',
    data: parameter
  })
}